package com.jianzhangg.springboot2.bean;

import lombok.Data;

/**
 * @author: jian.zhangg
 * @date: 2018/12/11 10:50
 * @version: V1.0
 * @Description: TODO
 */
@Data
public class CommonResponse {

    public CommonResponse(boolean ret) {
        this.ret = ret;
    }

    public CommonResponse(boolean ret, Object data) {
        this.ret = ret;
        this.data = data;
    }

    public CommonResponse() {
    }

    private boolean ret;

    private String msg;

    private Object data;
}
